package com.yanzu.module.member.forest;

import com.alibaba.fastjson.JSONObject;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.annotation.Var;
import com.yanzu.module.member.service.iot.smyoo.SmyooQuerymcuidsReqVO;
import com.yanzu.module.member.service.iot.smyoo.SmyooSetdevicedataReqVO;
import com.yanzu.module.member.service.iot.smyoo.SmyooSynloginopenReqVO;
import com.yanzu.module.member.service.iot.smyoo.SmyooSynloginticketReqVO;

public interface SmyooClient {


    @Post(url = "https://auth.smyoo.com/v1/account/synloginopen")
    JSONObject synloginopen(@JSONBody SmyooSynloginopenReqVO reqVO);


    @Post(url = "https://auth.smyoo.com/api/gfriend/synloginticket")
    JSONObject synloginticket(@JSONBody SmyooSynloginticketReqVO reqVO);


    @Post(url = "https://auth.smyoo.com/api/gfriend/querymcuids",headers = {
            "Cookie: BpeSessionId=${BpeSessionId}",
    })
    JSONObject querymcuids(@JSONBody SmyooQuerymcuidsReqVO reqVO, @Var("BpeSessionId")String BpeSessionId);


    @Post(url = "https://auth.smyoo.com/api/gfriend/setdevicedata",headers = {
            "Cookie: BpeSessionId=${BpeSessionId}",
    })
    JSONObject setdevicedata(@JSONBody SmyooSetdevicedataReqVO reqVO, @Var("BpeSessionId")String BpeSessionId);


   @Post(url = "https://auth.smyoo.com/api/gfriend/speakerplaylongtext",headers = {
           "Cookie: BpeSessionId=${BpeSessionId}",
   })
    JSONObject speakerplaylongtext(@JSONBody SmyooSetdevicedataReqVO reqVO, @Var("BpeSessionId")String BpeSessionId);





}
